package com.tdd;

import static org.junit.Assert.assertEquals;

import java.math.BigDecimal;

import org.junit.Test;

public class DivideTest {
	@Test
	public void basicDivision() {
		HpStack stack = new HpStack();
		stack.push(new BigDecimal(4));
		stack.push(new BigDecimal(-3.5));
		new Divide().operate(stack);
		assertEquals(-14, stack.peek());
	}
}
